package com.zrrd.learn.chapter08面向对象.objectoriented01;

/**
 * 2题测试
 *
 * @author wrn
 * @version 1.0
 * @date 2023/7/24 13:38
 */

public class Test02 {

    public static void main(String[] args) {
//        Hero h1 = new Hero();
        Hero h2 = new Hero(1);
//        h2.fight(1);
        h2.fight(2,5);
    }


}
